#include <linux/clockchips.h>

#include "inc/tick.h"

static void clockevents_config(struct clock_event_device *dev, u32 freq)
{
}

/**********************************************************************/
void clockevents_config_and_register(struct clock_event_device *dev,
                                     unsigned int freq, unsigned long min_delta,
                                     unsigned long max_delta)
{
    dev->min_delta_ticks = min_delta;
    dev->max_delta_ticks = max_delta;
    clockevents_config(dev, freq);
    clockevents_register_device(dev);
}

void clockevents_register_device(struct clock_event_device *dev)
{
    tick_check_new_device(dev);
}

void clockevents_handle(struct clock_event_device *dev)
{
    dev->event_handler(dev);
}
